package com.ruoyi.production.service.carton;



import com.ruoyi.production.domain.carton.CartonPurchaseApply;

import java.util.List;

/**
 * 纸箱购买申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface ICartonPurchaseApplyService
{
    /**
     * 查询纸箱购买申请
     *
     * @param cartonPurchaseApplyId 纸箱购买申请ID
     * @return 纸箱购买申请
     */
    public CartonPurchaseApply selectCartonPurchaseApplyById(Long cartonPurchaseApplyId);

    /**
     * 查询纸箱购买申请列表
     *
     * @param cartonPurchaseApply 纸箱购买申请
     * @return 纸箱购买申请集合
     */
    public List<CartonPurchaseApply> selectCartonPurchaseApplyList(CartonPurchaseApply cartonPurchaseApply);

    /**
     * 新增纸箱购买申请
     *
     * @param cartonPurchaseApply 纸箱购买申请
     * @return 结果
     */
    public int insertCartonPurchaseApply(CartonPurchaseApply cartonPurchaseApply);

    /**
     * 修改纸箱购买申请
     *
     * @param cartonPurchaseApply 纸箱购买申请
     * @return 结果
     */
    public int updateCartonPurchaseApply(CartonPurchaseApply cartonPurchaseApply);

    /**
     * 批量删除纸箱购买申请
     *
     * @param cartonPurchaseApplyIds 需要删除的纸箱购买申请ID
     * @return 结果
     */
    public int deleteCartonPurchaseApplyByIds(Long[] cartonPurchaseApplyIds);

    /**
     * 删除纸箱购买申请信息
     *
     * @param cartonPurchaseApplyId 纸箱购买申请ID
     * @return 结果
     */
    public int deleteCartonPurchaseApplyById(Long cartonPurchaseApplyId);
}
